package com.qinggeng.project.tool.third.domain;

import com.qinggeng.framework.aspectj.lang.annotation.Excel;
import com.qinggeng.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 第三方平台信息对象 sys_third_platform
 *
 * @author qinggeng
 * @date 2020-03-13
 */
@Data
public class SysThirdPlatform extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 平台ID */
    private Long platformId;

    /** 平台别名 */
    @Excel(name = "平台别名")
    private String platformCode;

    /** 平台名称 */
    @Excel(name = "平台名称")
    private String platformName;

    /** APPID */
    @Excel(name = "APPID")
    private String appId;

    /** AppSecret */
    private String appSecret;

    /** 其他参数 */
    private String otherParams;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("platformId", getPlatformId())
            .append("platformCode", getPlatformCode())
            .append("platformName", getPlatformName())
            .append("appId", getAppId())
            .append("appSecret", getAppSecret())
            .toString();
    }
}
